import request from '../utils/request-new'

export const createSeminar = (data: {
  caseId: number,
  content: string
}) => {
  return request({
    url: `/topical/create`,
    method: "POST",
    data
  })
}

export const replySeminar = (data: {
  topicalId: number,
  content: string
}) => {
  return request({
    url: `/topical/reply`,
    method: "POST",
    data
  })
}

export const praiseSeminar = (data: {
  topicalId: number
}) => {
  return request({
    url: `/topical/praise/${data.topicalId}`,
    method: "GET",
    data
  })
}

